#pragma once

#include <QMenuBar>
#include <QCoreApplication>

class MenuBar : public QMenuBar {
    Q_OBJECT

public:
    MenuBar();

    class Window : public QMenu
    {
        Q_DECLARE_TR_FUNCTIONS(Window)
    public:
        Window(MenuBar *parent);
        QAction *close;
    };

    class Games : public QMenu
    {
        Q_DECLARE_TR_FUNCTIONS(Player)
    public:
        Games(MenuBar *parent);

        QAction *wordsSolitaire, *showAndGuess;
    };

    class Help : public QMenu
    {
        Q_DECLARE_TR_FUNCTIONS(Help)
    public:
        Help(MenuBar *parent);
        QAction *about;
    };

    Window *window;
    Games *games;
    Help *help;
};